package com.example.bizconsumer;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
@RequestMapping("/feign")
public class TestController {

    @Resource
    private BizProvClient bizProvClient;

    @GetMapping
    public String test1(){
        return bizProvClient.helloTest();
    }
}
